package com.shemy.service;

import com.shemy.entity.SysRole;

import java.util.List;

public interface SysRoleService {


    int deleteByPrimaryKey(Integer roleId);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(SysRole record);

    List<SysRole> findAllByUserId(Integer userId);

    int updateByPrimaryKey(SysRole record);

}

